<?php

namespace App\Http\Controllers\api;

use App\Http\Controllers\Controller;
use App\Repository\RepositoryInterface\GroupInterface;

class CombinationController extends Controller
{
    protected $group;

    public function __construct(GroupInterface $group){
        $this->group = $group;
    }
    /**
     * 团长拼团商品推荐
     * @return \Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection
     */
    public function recommendGoods(){
        return $this->group->recommendGoods();
    }
}